package com.yjs.bean;

/**
 * @author yjs
 * @create 2020-09-22-16:14
 * 历史记录实体类
 */

public class History {

    private Integer hid;//历史id
    private String hgsmall;//货物简码
    private String hgname;//货物名称
    private String hdatetime;//记录时间
    private String hgtype;//出入库类型
    private Integer hgunit;
    private Integer hamount;
    private String hsname;//仓储名称
    private String husername;//操作员

    public History() {
    }

    public History(Integer hid, String hgsmall, String hgname, String hdatetime, String hgtype, Integer hgunit, Integer hamount, String hsname, String husername) {
        this.hid = hid;
        this.hgsmall = hgsmall;
        this.hgname = hgname;
        this.hdatetime = hdatetime;
        this.hgtype = hgtype;
        this.hgunit = hgunit;
        this.hamount = hamount;
        this.hsname = hsname;
        this.husername = husername;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String getHgsmall() {
        return hgsmall;
    }

    public void setHgsmall(String hgsmall) {
        this.hgsmall = hgsmall;
    }

    public String getHgname() {
        return hgname;
    }

    public void setHgname(String hgname) {
        this.hgname = hgname;
    }

    public String getHdatetime() {
        return hdatetime;
    }

    public void setHdatetime(String hdatetime) {
        this.hdatetime = hdatetime;
    }

    public String getHgtype() {
        return hgtype;
    }

    public void setHgtype(String hgtype) {
        this.hgtype = hgtype;
    }

    public Integer getHgunit() {
        return hgunit;
    }

    public void setHgunit(Integer hgunit) {
        this.hgunit = hgunit;
    }

    public Integer getHamount() {
        return hamount;
    }

    public void setHamount(Integer hamount) {
        this.hamount = hamount;
    }

    public String getHsname() {
        return hsname;
    }

    public void setHsname(String hsname) {
        this.hsname = hsname;
    }

    public String getHusername() {
        return husername;
    }

    public void setHusername(String husername) {
        this.husername = husername;
    }

    @Override
    public String toString() {
        return "History{" +
                "hid=" + hid +
                ", hgsmall='" + hgsmall + '\'' +
                ", hgname='" + hgname + '\'' +
                ", hdatetime='" + hdatetime + '\'' +
                ", hgtype='" + hgtype + '\'' +
                ", hgunit=" + hgunit +
                ", hamount=" + hamount +
                ", hsname='" + hsname + '\'' +
                ", husername='" + husername + '\'' +
                '}';
    }
}
